<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<nav class="navbar navbar-inverse" style="border-radius: 0px">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <a class="navbar-brand" href="#">Logo</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">首页</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
             aria-expanded="false">类目管理 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">IT</a></li>
            <li><a href="#">娱乐</a></li>
            <li><a href="#">政治</a></li>
            <!-- <li role="separator" class="divider"></li>
             <li><a href="#">Separated link</a></li>-->
          </ul>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
             aria-expanded="false">文章管理 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="/list-news.do">文章列表</a></li>
          </ul>
        </li>

        <li class="active"><a href="/logout">退出</a></li>
        <li class="active"><a>${sessionScope.currentUserName}</a></li>

      </ul>


    </div><!-- /.navbar-collapse -->
  </div>
</nav>
